physics_particle_group_delete

Delete a particle group from the physics simulation.

语法:

physics_particle_group_delete(ind)


参数 描述
ind The index (ID) of the particle to delete.


返回: N/A(无返回值)


描述

With this function you can delete (remove) a particle from the physics simulation in the current room. The function takes the unique ID of the particle to delete, as returned by the function physics_particle_create().


例如:

physics_particle_delete(part);

The above code will delete the particle with the ID stored in the variable "part" from the simulation.


上一页: Soft Body Particles
下一页: physics_particle_delete_region_circle
© Copyright YoYo Games Ltd. 2018 All Rights Reserved